//
//  DDFileReader.h
//  CommuteWarrior
//
//  Created by Rohit Mathews on 3/17/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface DDFileReader : NSObject {
	NSString *filePath;
	
	NSFileHandle *fileHandle;
	unsigned long long currentOffset;
	unsigned long long totalFileLength;
	
	NSString *lineDelimiter;
	NSUInteger chunkSize;
}

@property (nonatomic,copy) NSString *lineDelimiter;
@property (nonatomic) NSUInteger chunkSize;

-(id)initWithFilePath:(NSString *)aPath;

-(NSString *) readLine;
-(NSString *) readTrimmedLine;


@end
